<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
    <h2>login</h2>
    <!--  <form action="" method="post"> -->
    <!--  python 反向解析  -->
    <form action="{{ url_for('user.login') }}" method="post">
        <p>
            用户名: <input type="text" name="username">
        </p>
        <p>
            密码: <input type="password" name="password">
        </p>
        <p>
            <button>Submit</button>
        </p>
    </form>
</body>
</html>